<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>CSS实现三栏布局3</title>
    <style type="text/css">
      .container {
        position: relative;
      }
      .left {
        width: 200px;
        height: 300px;
        background-color: #dc698a;
        position: absolute;
      }
      .middle {
        height: 300px;
        background-color: #8cb08b;
        overflow: hidden;
      }
      .right {
        position: absolute;
        right: 0;
        top: 0;
        width: 200px;
        height: 300px;
        background-color: #3eacdd;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="left">左栏</div>
      <div class="middle">中间栏</div>
      <div class="right">右栏</div>
    </div>
  </body>
</html>
